const Home = () => import('views/home/Home')
const Category = () => import('views/category/Category')
const Cart = () => import('views/cart/Cart')
const Profile = () => import('views/profile/Profile')
const ProductDetail = () => import('views/product-detail/ProductDetail')
const routes = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    component: Home,
    name: 'Home',
    meta: {
      isShowFooter: true
    }
  },
  {
    path: '/category',
    component: Category,
    name: 'Category',
    meta: {
      isShowFooter: true
    }
  },
  { path: '/cart',
    component: Cart,
    name: 'Cart',
    meta: {
      isShowFooter: true
    }
  },
  { path: '/profile',
    component: Profile,
    name: 'Profile',
    meta: {
      isShowFooter: true
    }
  },
  {
    path: '/productDetail',
    component: ProductDetail,
    name: 'ProductDetail'
  }
]

export default routes
